<?php if (!defined('THINK_PATH')) exit();?>
<!-- 加载头文件 -->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/common.css" />
<?php if(($k == 'Index') AND ($f == 'index') ): ?><link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/index.css" />
	<?php elseif(($k == 'Detail') AND ($f == 'goodsdetail')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/goods_detail.css" />
	<?php elseif(($k == 'Shopcar') AND ($f == 'cart')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/cart.css" />
	<?php elseif(($k == 'Sureorder') AND ($f == 'sureorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/ensure_order.css" />
	<?php elseif(($k == 'Sureaddress') AND ($f == 'sureaddress')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/ensure_address.css"> 
	<?php elseif(($k == 'Submitpay') AND ($f == 'nowpay')): ?>
        <link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/now_pay.css">
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/cart.css" />
	<?php elseif(($k == 'Gerencenter') AND ($f == 'userpro')): ?>
        <link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_person_center.css">
	<?php elseif(($k == 'Myorder') AND ($f == 'userorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_center.css">
	<?php elseif(($k == 'Gerencenter') AND ($f == 'usercenter')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_center.css">
	<?php elseif(($k == 'Order') AND ($f == 'myorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/order.css"><?php endif; ?>


</head>
<body>
<div class="container">
    <div class="top">
        <div class="topContent">
            <div class="topUserFunction">
				<?php if($_SESSION['name'] != ''): ?><p style="color:red">欢迎登陆!<?php echo ($_SESSION["name"]); ?></a><p>|</p><a href="<?php echo U('Public/loginout');?>">退出</p>
				<?php else: ?> 
				<p>请先</p><a href="<?php echo U('Public/login');?>">登陆</a><p>|</p><a href="<?php echo U('Public/register');?>">注册</a><?php endif; ?>
               
            </div>
            <div class="topFunction">
                 <a href="<?php echo U('index/index');?>">首页</a><a href="<?php echo U('Gerencenter/userpro');?>">我的中心</a><a href="<?php echo U('Myorder/userorder');?>">我的订单</a><a href="<?php echo U('Shopcar/cart');?>">我的购物车</a><a href="#">服务中心</a>
            </div>
        </div>
    </div>




    <div class="header">
        <div class="headerContent">
            <div class="headerLeft">
                <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/logo.jpg" width="200" height="95" />
                <div class="navButton">
                    <a>全部商品分类</a>
                </div>
                <div class="secondMenu">
                    <ul>
					
					<!-- 无限极分类输出 -->
					<?php if(is_array($wuxiantotal)): foreach($wuxiantotal as $k=>$vo): ?><li>
                            <a href="#" class="secondOption"><?php echo ($k); ?></a>
                            <div class="threeMenu">
                                <?php if(is_array($vo)): foreach($vo as $k1=>$vo1): ?><div class="threeMenuTitle">
										<p><?php echo ($k1); ?></p>
									   
									</div>
									<ul>
										 <?php if(is_array($vo1)): foreach($vo1 as $k2=>$vo2): ?><li><a href="#"><?php echo ($vo2["name"]); ?></a></li><?php endforeach; endif; ?>
									</ul><?php endforeach; endif; ?>
                            </div>
                        </li><?php endforeach; endif; ?>
						
                    </ul>
                </div>
            </div>
            <div class="headerMiddle">
                <div class="headerResouch">
                    <form action="#" method="post">
                    <input type="text" style=" width:350px; float:left; background-color:#FFF; height:36px; border:none; margin-top:6px; margin-left:10px;"  name="resouchText"/>
                    <input type="submit" style=" float:left; width:80px; margin-top:6px; background-color:transparent; color:#FFF; height:36px; font:18px yahei; border:none;" name="submit" value="搜索">
                    </form>
                </div>
                <div class="headerResouchBottom">
                    <ul>
                        <li ><a href="#" style="color:#f5b6bb;">迪士尼</a></li>
                        <li><a href="#">好孩子</a></li>
                        <li><a href="#">耐克</a></li>
                        <li><a href="#">啪啪尼克</a></li>
                        <li><a href="#">兔子小克</a></li>
                        <li><a href="#">南极人</a></li>
                        <li><a href="#">巴布豆</a></li>
                    </ul>
                </div>
				<!-- 输出导航栏 -->
                <div class="headerNav">
                    <ul>
					
					<?php if(is_array($info)): foreach($info as $k=>$vo): if($vo["status"] == 1 ): ?><li><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["name"]); ?></a></li><?php endif; endforeach; endif; ?>
                     
                        
                    </ul>
                </div> 
            </div>
            <div class="headerRight"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/erweima.jpg" width="101" height="100"></a><a href="#">扫一扫 加收藏</a></div>   
        </div>
    </div>
<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/accept_goods_address.css">

</head>

<body>
<div class="container">
<!-- 添加收货地址表单 -->
    <div class="filter"></div>
    <div class="addAddress">
		<form action="<?php echo U('Gerencenter/addAddress');?>" method="post">
			<div class="addAddressTitle">
				<p>添加收货地址</p>
			</div>
			<div class="addAddressRow">
				<p><span>*</span>收货人：</p>
			</div>
			<div class="addAddressRow">
				<input type="text" name="shouhuoren"  class="addcurrent"/>
			</div>
			<div class="addAddressRow">
				<p><span>*</span>所在地址：</p>
			</div>
			<div class="addAddressRow">
				<select>
					<option>请选择</option>
					<option>请选择</option>
				</select>
				<select>
					<option>请选择</option>
					<option>请选择</option>
				</select>
				<select>
					<option>请选择</option>
					<option>请选择</option>
				</select>
			</div>
			
			<div class="addAddressRow">
				<p><span>*</span>详情地址：</p>
			</div>
			<div class="addAddressRow">
				<input type="text" style="width:500px;" name="detailaddress" />
			</div>
			<div class="addAddressRow">
				<p><span>*</span>手机号码：</p>
				<p style="margin-left:200px;">固定号码：</p>
			</div>
			<div class="addAddressRow">
				<input type="text" name="phone"  style="width:220px;"  class="addcurrent"/>
				<p style=" margin:0 22px;">或</p>
				<input type="text" name="tel"  style="width:220px;" class="addcurrent"/>
			</div>
			<div class="addAddressRow">
				<p><span></span>邮箱：</p>
			</div>
			<div class="addAddressRow">
				<input type="text" style=" width:500px;" name="email"  class="addcurrent"/>
			</div>
			<!-- <div class="addAddressRow">
				<p><span>*</span>地址别名：</p>
			</div>
			<div class="addAddressRow">
				<input type="text" name="souhuoren"  class="addcurrent"/><p style="font-size:12px;">设置一个易记的名称，如：“送到家里”、“送到公司”</p>
			</div> -->
			<div class="addAddressRow">
				<input id="saveAddr" type="submit" value="保存收货地址" style="cursor:pointer"/>
			</div>
			<div class="addAddressRow">
			  
			</div>
		</form>
    </div>

 
    <div class="main">
        <div class="mainContent">
            <div class="mainLeft">
                <div class="mainLeftTop">
                    <p>会员中心</p>
                </div>
                <ul>
                    <li class="mainLeftTitle">
                       <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/accept_goods_address/close.png" width="19" height="19"><p>我的订单</p>
                       <div class="subMenu">
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/my_order.html">已完成</a>
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/my_order.html">待收货</a>
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/my_order.html">待评价</a>
                       </div>
                    </li>
                    <li class="mainLeftTitle">
                       <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/accept_goods_address/close.png" width="19" height="19"><p>个人资料</p>
                       <div class="subMenu">
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/user_center.html">用户中心</a>
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/user_person_center.html">会员中心-个人资料</a>
                       </div>
                    </li>
                    <li class="mainLeftTitle">
                       <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/accept_goods_address/close.png" width="19" height="19"><p>修改登陆密码</p>
                       <div class="subMenu">
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/update_password.html">修改登陆密码</a>
                       </div>
                    </li>
                    <li class="mainLeftTitle">
                       
                       <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/accept_goods_address/close.png" width="19" height="19"><p>管理员收货地址</p>
                       <div class="subMenu">
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/accept_goods_address.html">管理收货地址</a>
                       <a href="/git/thinkphpkxs/thinkphpkxs01/Public/children/cart.html">购物车</a>
                       </div>
               
                    </li>
                    <li class="mainLeftTitle">
                       <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/accept_goods_address/close.png" width="19" height="19"><p>系统消息页</p>
                       <div class="subMenu">
                       <a href="#">系统消息</a>
                       <a href="#">系统消息详情</a>
                       </div>
               
                    </li>
                </ul>
            </div>
            <div class="mainRight">
                <div class="mainRightSide">
                    <a class="addAddr">新增收货地址</a>
					
                </div>
				<?php if(is_array($addr)): foreach($addr as $k=>$vo): ?><div class="mainPersonInfo">
						<div class="mainPersonTitle">
							<a>地址详情</a>
						</div>
						<ul>
							<li><p style=" float:left;width:110px; text-align:right;">收货人：</p><p style=" float:left;text-align:left;"><?php echo ($vo["shouhuoren"]); ?></p></li>
							<li><p style=" float:left;width:110px; text-align:right;">所在地区：</p><p style=" float:left;text-align:left;"><?php echo ($vo["address"]); ?></p></li>
							<li><p style=" float:left;width:110px; text-align:right;">地址：</p><p style=" float:left;text-align:left;"><?php echo ($vo["detailaddress"]); ?></p></li>
							
							<li><p style=" float:left;width:110px; text-align:right;">手机：</p><p style=" float:left;text-align:left;"><?php echo ($vo["phone"]); ?></p></li>
							<li><p style=" float:left;width:110px; text-align:right;">固定电话：</p><p style=" float:left;text-align:left;"><?php echo ($vo["tel"]); ?></p></li>
							<li>
								<p style=" float:left;width:110px; text-align:right;">电子邮箱：</p><p style=" float:left;text-align:left;"><?php echo ($vo["email"]); ?></p>
								<a class="Edit" href="<?php echo U('Gerencenter/editAddress');?>?uid=<?php echo ($vo["id"]); ?>">编辑</a>
							</li>
						</ul>
					</div><?php endforeach; endif; ?>
               <!--  <div class="mainRightSide">
                    <a class="addAddr">新增收货地址</a>
                    <p>您已创建<span>1</span> 个收货地址，最多可创建<span>20</span>个</p>
                </div> -->
            </div>
        </div>
    </div>
    
    <!-- 加载尾文件 -->

<div class="footer">
        <div class="footerTop">
            
            <div class="footerTopContent">
                <div id="toTop"></div>
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>优</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>优良品质</p>
                        <p>质量保证</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>多</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>类型多样</p>
                        <p>轻松购物</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>好</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>直仓发货</p>
                        <p>快速配送</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>快</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>正品行货</p>
                        <p>温馨服务</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerMiddel">
            <div class="footerMiddelContent">
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>新手上路</p></div>
                    <ul>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">免费注册</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>购物常识</p></div>
                    <ul>
                        <li><a href="#">常用尺寸</a></li>
                        <li><a href="#">货图差异</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">购物规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>服务保证</p></div>
                    <ul>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">免费注册</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>会员中心</p></div>
                    <ul>
                        <li><a href="#">会员管理</a></li>
                        <li><a href="#">关于会员</a></li>
                        <li><a href="#">我的收藏</a></li>
                        <li><a href="#">我的订单</a></li>
                        <li><a href="#">会员续费</a></li>
                        <li><a href="#">会员消息</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>招商加盟</p></div>
                    <ul>
                        <li><a href="#">加盟管理</a></li>
                        <li><a href="#">关于加盟</a></li>
                        <li><a href="#">加盟详情</a></li>
                        <li><a href="#">联系客服</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNavTwoDimensionCode">
                    <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/erweima.jpg"/>
                    <p>扫一扫 二维码</p>
                </div>
            </div>
        </div>
        <div class="footerButtom">
            <div class="footerButtomContent">
                <ul class="footerButtomNav">
                    <li><a href="<?php echo U('index/index');?>">返回首页</a><a>|</a></li>
                    <li><a href="#">关于我们</a><a>|</a></li>
                    <li><a href="#">会员中心</a><a>|</a></li>
                    <li><a href="#">购物常识</a><a>|</a></li>
                    <li><a href="#">客服中心</a><a>|</a></li>
                    <li><a href="#">招商加盟</a></li>
                </ul>
                <p>◎2003-2015 Taobao.com 版权所有</p>
                <p>网络文化经营许可证：浙网文[2013]0268-027号|互联网违法和不良信息举报电话:0571-81683755 blxx@list.alibaba-inc.com</p>
            </div>
        </div>
    </div>
    
    

</div>
</body>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/jquery-1.8.3.min.js"></script>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/common.js"></script>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/accept_goods_address.js"></script>
</html>